<div class="box">
    <h2 class="title"><?php echo $model->name; ?></h2>
    <div class="news details">
        <div class="item clearfix">
            <img class="img" src="<?php echo image_path($model->product->images); ?>" alt="<?php echo $model->name;?>" />
            <div class="date"><?php echo '<b style="font-style: normal;">'.Yii::t('site/general','Update').' : </b>'; $ts = strtotime($model->product->update_time); echo date('h:i A',$ts).' | '.((Yii::app()->language=='vi_vn') ? date('d/m/Y',$ts) : date('m/d/Y',$ts)); ?></div>
            <?php if(intval($model->product->price) > 0) : ?><p><?php echo '<b>'.Yii::t('site/product','Price').' : </b>'.number_format($model->product->price).' '.$model->product->currency; ?></p><?php endif; ?>
            <?php if (trim($model->source)!='') : ?><p><?php echo '<b>'.Yii::t('site/product','Source').' : </b>'.$model->source; ?></p><?php endif; ?>
            <div style="clear: both;"></div>
            <div class="content" style="margin-top: 10px;">
                <?php echo $model->long_description; ?>
            </div>
        </div>
    </div>
</div>